#ifndef STORAGE_STORAGE_ERROR_HPP
#define STORAGE_STORAGE_ERROR_HPP

#include "Storage/StorageConfig.hpp"
#include <stdexcept>

namespace Storage
{

/// @ingroup Storage
/// @brief It is thrown when an error occurs during storage operations.
class STORAGE_API StorageError: public std::runtime_error
{
public:
	/// @brief It initializes the exception.
	/// @param message the error message.
	StorageError( const std::string& message);
};


} // namespace Storage

#endif // STORAGE_STORAGE_ERROR_HPP